package com.soft.collateral.constant;

public interface MessageConstant {

    public static final String SUCCESS = "操作成功";
    public static final String FAIL = "操作失败";

    //登录
    public static final String LOGIN_SUCCESS = "登录成功";
    public static final String LOGIN_FAIL = "登录失败";
    public static final String LOGOUT_SUCCESS = "登出成功";
    public static final String LOGOUT_FAIL = "登出失败";
    public static final String GET_LOGIN_USER_SUCCESS = "获取当前登录用户名称成功";
    public static final String GET_LOGIN_USER_FAIL = "获取当前登录用户名称失败";

    public static final String TOKEN_REFRESH=  "登录信息刷新成功";
    public static final String TOKEN_EMPTY =  "请重新登录，再访问服务";
    public static final String ACCESS_TOKEN_VERIFY_FAIL ="访问令牌过期";
    public static final String REFRESH_TOKEN_VERIFY_FAIL ="刷新令牌过期";
    public static final String TOKEN_ILLEGAL ="登录信息不合法";
    public static final String TOKEN_REDIS_NULL ="在Redis中不存在此登录信息";

    //用户
    public static final String GET_USER_SUCCESS = "获取用户信息成功";
    public static final String GET_USER_FAIL = "获取用户信息失败";
    public static final String SAVE_USER_SUCCESS = "用户添加成功";
    public static final String SAVE_USER_FAIL = "用户添加失败";
    public static final String UPDATE_USER_SUCCESS = "修改用户信息成功";
    public static final String UPDATE_USER_FAIL = "修改用户信息失败";
    public static final String DELETE_USER_SUCCESS = "删除用户成功";
    public static final String DELETE_USER_FAIL = "删除用户失败";

    //角色
    public static final String GET_ROLE_SUCCESS = "获取角色信息成功";
    public static final String GET_ROLE_FAIL = "获取角色信息失败";
    public static final String GET_MENU_SUCCESS = "获取当前登录用户菜单成功";
    public static final String GET_MENU_FAIL = "获取当前登录用户菜单失败";
    public static final String DELETE_ROLE_SUCCESS = "删除用户成功";
    public static final String DELETE_ROLE_FAIL = "删除用户失败";
    public static final String SAVE_ROLE_SUCCESS = "新增角色成功";
    public static final String SAVE_ROLE_FAIL = "新增角色失败";
    public static final String UPDATE_ROLE_SUCCESS = "修改角色成功";
    public static final String UPDATE_ROLE_FAIL = "修改角色失败";

    public static final String TELEPHONE_VALIDATE_CODE_NOTNULL = "手机号和验证码都不能为空";
    public static final String VALIDATE_CODE_ERROR = "验证码输入错误";
    public static final String SEND_VALIDATE_CODE_SUCCESS = "验证码发送成功";
    public static final String SEND_VALIDATE_CODE_FAIL = "验证码发送失败";
    public static final String SEND_VALIDATE_CODE_HAS = "请勿重复获取验证码";

    //外估机构
    public static final String GET_AGENCIES_SUCCESS = "获取用户信息成功";
    public static final String GET_AGENCIES_FAIL = "获取用户信息失败";
    public static final String SAVE_AGENCIES_SUCCESS = "用户添加成功";
    public static final String SAVE_AGENCIES_FAIL = "用户添加失败";
    public static final String UPDATE_AGENCIES_SUCCESS = "修改用户信息成功";
    public static final String UPDATE_AGENCIES_FAIL = "修改用户信息失败";
    public static final String DELETE_AGENCIES_SUCCESS = "删除用户成功";
    public static final String DELETE_AGENCIES_FAIL = "删除用户失败";

    //文件上传
    public static final String PIC_UPLOAD_SUCCESS = "图片上传成功";
    public static final String PIC_UPLOAD_FAIL = "图片上传失败";
    public static final String PIC_DELETE_SUCCESS = "图片删除成功";
    public static final String PIC_DELETE_FAIL = "图片删除失败";

    //合同
    public static final String GET_CONTRACTS_SUCCESS = "获取合同信息成功";
    public static final String GET_CONTRACTS_FAIL = "获取合同信息失败";
    public static final String SAVE_CONTRACTS_SUCCESS = "合同添加成功";
    public static final String SAVE_CONTRACTS_FAIL = "合同添加失败";
    public static final String DELETE_CONTRACTS_SUCCESS = "删除合同成功";
    public static final String DELETE_CONTRACTS_FAIL = "删除合同失败";

    public static final String DELETE_COLLATERAL_FAIL = "删除押品失败";
    public static final String DELETE_COLLATERAL_SUCCESS = "删除押品成功";
    public static final String ADD_COLLATERAL_SUCCESS = "新增押品成功";
    public static final String ADD_COLLATERAL_FAIL = "新增押品失败";
    public static final String EDIT_COLLATERAL_FAIL = "编辑押品失败";
    public static final String EDIT_COLLATERAL_SUCCESS = "编辑押品成功";
    public static final String QUERY_COLLATERAL_SUCCESS = "查询押品成功";
    public static final String QUERY_COLLATERAL_FAIL = "查询押品失败";
    //枚举
    public static final String GET_ENUMS_SUCCESS = "获取枚举成功";

    // 入库相关消息
    public static final String QUERY_STORAGE_SUCCESS = "查询入库申请成功";
    public static final String QUERY_STORAGE_FAIL = "查询入库申请失败";
    public static final String ADD_STORAGE_SUCCESS = "新增入库申请成功";
    public static final String ADD_STORAGE_FAIL = "新增入库申请失败";
    public static final String EDIT_STORAGE_SUCCESS = "编辑入库申请成功";
    public static final String EDIT_STORAGE_FAIL = "编辑入库申请失败";
    public static final String DELETE_STORAGE_SUCCESS = "删除入库申请成功";
    public static final String DELETE_STORAGE_FAIL = "删除入库申请失败";
    public static final String APPROVE_STORAGE_SUCCESS = "审核入库申请成功";
    public static final String APPROVE_STORAGE_FAIL = "审核入库申请失败";
    //台账
    public static final String GET_EDGER_SUCCESS = "获取台账信息成功";
    public static final String GET_EDGER_FAIL = "获取台账信息失败";
    public static final String SAVE_EDGER_SUCCESS = "台账添加成功";
    public static final String SAVE_EDGER_FAIL = "台账添加失败";
    public static final String DELETE_EDGER_SUCCESS = "删除台账成功";
    public static final String DELETE_EDGER_FAIL = "删除台账失败";
    public static final String UPDATE_EDGER_SUCCESS = "修改台账信息成功";
    public static final String UPDATE_EDGER_FAIL = "修改台账信息失败";

    // 出库相关消息
    public static final String QUERY_WITHDRAW_SUCCESS = "查询出库申请成功";
    public static final String QUERY_WITHDRAW_FAIL = "查询出库申请失败";
    public static final String ADD_WITHDRAW_SUCCESS = "新增出库申请成功";
    public static final String ADD_WITHDRAW_FAIL = "新增出库申请失败";
    public static final String EDIT_WITHDRAW_SUCCESS = "编辑出库申请成功";
    public static final String EDIT_WITHDRAW_FAIL = "编辑出库申请失败";
    public static final String DELETE_WITHDRAW_SUCCESS = "删除出库申请成功";
    public static final String DELETE_WITHDRAW_FAIL = "删除出库申请失败";
    public static final String APPROVE_WITHDRAW_SUCCESS = "审核出库申请成功";
    public static final String APPROVE_WITHDRAW_FAIL = "审核出库申请失败";
    //押品
    public static final String GET_COLLATERAL_SUCCESS = "获取押品信息成功";
    public static final String GET_COLLATERAL_FAIL = "获取押品信息失败";

    // 出入库记录相关消息
    public static final String QUERY_RECORD_SUCCESS = "查询出入库记录成功";
    public static final String QUERY_RECORD_FAIL = "查询出入库记录失败";
    //PDF
    public static final String SAVE_PDF_SUCCESS = "PDF生成成功";
    public static final String SAVE_PDF_FAIL = "PDF生成失败";
}
